package com.enwayouli.mapper;

import com.enwayouli.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User login(@Param("username") String username, @Param("password") String password);
    int register(@Param("username") String username, @Param("password") String password,@Param("email") String email);
}
